package Task28;

public class WorkPanel {
	private PanelInterface lastFocusPanel;
	private PanelInterface previousFocusPanel;

	public String getWorkDir() {
		return lastFocusPanel.getWorkDir();
	}

	public String getPreviousWorkDir() {
		return previousFocusPanel.getWorkDir();
	}

	public String getSelectedValue() {
		return lastFocusPanel.getSelectValue();
	}

	public PanelInterface getLastFocusPanel() {
		return lastFocusPanel;
	}

	public void setLastFocusPanel(PanelInterface lastFocusPanel) {
		this.lastFocusPanel = lastFocusPanel;
	}

	public PanelInterface getPreviousFocusPanel() {
		return previousFocusPanel;
	}

	public void setPreviousFocusPanel(PanelInterface previousFocusPanel) {
		this.previousFocusPanel = previousFocusPanel;
	}

}
